﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Head.ascx.cs" Inherits="MvcApplication5.Views.Control.Head" %>
<%@ Import Namespace="MvcApplication5.Models" %>
<%@ Import Namespace="MvcApplication5.Common" %>
<script src="../../Scripts/jquery-1.7.2.js" type="text/javascript"></script>
<script src="../../Scripts/prototype1.7.js" type="text/javascript"></script>
<script src="../../Scripts/Common/Common.js" type="text/javascript"></script>
<script src="../../Scripts/Common/MainScript.js" type="text/javascript"></script>
<script src="../../Scripts/Control/Head.js" type="text/javascript"></script>
<link href="../../Content/Control/head.css" rel="stylesheet" type="text/css" />
<div style="width: 100%; height: 68px;">
    <table style="width: 100%;">
        <tr>
            <td width="15%">欢迎进入XXXX系统
            </td>
            <td>
                <span id="userShow"></span>
                <%= AppContext.Current.LoginUser.employee_name  %>
                <%= AppContext.Current.LoginUser.position_name  %>
                <%= ViewData["CityWeather"] %>
            </td>
            <td>
                <span id="nowTime"></span>
            </td>
            <td>
                <a href="<%= Url.Action("Login","Admin") %>">退出</a>
            </td>
        </tr>
    </table>
</div>
<div>
    <div class="head_main">
        <div class="head_container">
            <ul id="head_menu" style="margin-top: 0px;">
            </ul>
            <div id="head_buoy">
            </div>
        </div>
    </div>
</div>
<script type="text/javascript">
    function Head_<%= this.ClientID %>_Page_Load(){

        <%= GetJSInstance()%> = new Head();

        var headIns = <%= GetJSInstance()%>;

        headIns.init();
    }

    Head_<%= this.ClientID %>_Page_Load();
</script>
